package com.briup.pts.service.impl;

import com.briup.pts.domain.bean.Batch;
import com.briup.pts.mapper.BatchMapper;
import com.briup.pts.service.BatchService;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@RequiredArgsConstructor
public class BatchServiceImpl implements BatchService {

    private final BatchMapper batchMapper;

    @Override
    public List<Batch> queryAll() {
        return batchMapper.queryAll();
    }
}
